package com.xiaoshuidi.cloud.module.rooms.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.equipmentStocktakingList.vo.EquipmentStocktakingListPageReqVO;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.equipmentStocktakingList.vo.EquipmentStocktakingListPageResp;
import com.xiaoshuidi.cloud.module.rooms.mapper.EquipmentStocktakingListMapper;
import com.xiaoshuidi.cloud.module.rooms.pojo.EquipmentStocktakingList;
import com.xiaoshuidi.cloud.module.rooms.repository.irepository.IEquipmentStocktakingListRepository;
import com.xiaoshuidi.cloud.module.rooms.service.IEquipmentStocktakingListService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description:
 * @Author: Link
 * @CreateTime: 2023-05-21 17:14
 * @Version: 1.0
 */
@Slf4j
@Service
public class EquipmentStocktakingListServiceImpl extends ServiceImpl<EquipmentStocktakingListMapper, EquipmentStocktakingList> implements IEquipmentStocktakingListService {

    @Resource
    private IEquipmentStocktakingListRepository iEquipmentStocktakingListRepository;

    @Override
    public IPage<EquipmentStocktakingListPageResp> getEquipmentStocktakingListPage(EquipmentStocktakingListPageReqVO pageVO) {

        return iEquipmentStocktakingListRepository.getEquipmentStocktakingListPage(pageVO);
    }
}
